package com.yang.leather.admin.service;

import java.util.List;
import java.util.Map;

import com.yang.leather.admin.pojo.Product;
import com.yang.leather.common.page.Pagination;
import com.yang.leather.core.LeatherCoreService;

public interface IProdService extends LeatherCoreService<Product>{

	public Pagination getProductListPage(Map<String,String> param, int pageNo,int pageSize);
	
	public Product findProductById(Long id);
	
	public int countProductList(Map<String,String> param);
	
	public List<Product> getLimitProdList(Map<String,String> param,int limit);
	
	public void updateStatus(int status ,List<Long> ids);
	
	public void updateProduct(Product product);
	
	public void saveProduct(Product product);
	
	public void deleteById(Long id);
	
	public void batchDel(List<Long> ids);
	
	
}
